
ac.skill('凤凰冲击'){
    temp = '攻击触发',
    odds = 15,
    model1 = [[56.mdl]],
    on_run = function(self,hero,target)
        local point1 = hero:get_point()
        local point2 = target:get_point()
        local angle = point1 / point2
        local effect = hero:create_shadow(point2,angle,3)
        effect:set_model('hero_18.mdl')
        point2.z = 100

        local damage = self:dmg_get()
        local num = 6
        local lock = {}
        for a=1,num do
            local r = angle + (a-num/2 - 0.5)*60
            ac.wait(a*200,function()
                local mover = point2:launch_wave(self.model1,r,1200,900)
                effect:set_facing(r)
                effect:play_animation('attack')
                sc.loopUnit(0.03,mover,70,function(group,unit)
                    if unit:is_enemy(hero) then
                        hero:create_damage(unit,damage,self)
                    end
                end):set_lock(lock)
            end)
        end
    end
}